#ifndef TIME_H
#define TIME_H

#include <Boost/date_time/posix_time/posix_time.hpp>
using namespace boost::posix_time;
using namespace boost::gregorian;

#define TIME (Time::GetSingleton())
class Time
{
public:
	static Time* GetSingleton();
	static void Destroy();

	tstring GetTime();
	ptime GetPTime() const;
	tstring GetStartTime();
	const ptime& GetStartPTime() const;

private:
	ptime m_StartTime;

	Time();
	virtual ~Time();
	static Time* m_Singleton;

	Time(const Time &t);
	Time& operator= (const Time &t);
};
#endif